<nav class="navbar navbar-inverse navbar-fixed-top" ng-init="initNavbar()">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#/home"><i class="glyphicon glyphicon-gift"></i> 金管家-财物中心</a>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li><a href="#/category"><i class="glyphicon glyphicon-tasks"></i> 财物分类</a></li>
        <li><a href="#/property"><i class="glyphicon glyphicon-list"></i> 财物列表</a></li>
        <li><a href="#"><i class="glyphicon glyphicon-camera"></i> 财物商城</a></li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
            <i class="glyphicon glyphicon-user"></i> 我的账户<span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <li><a href="javascript:void(0)" ng-click="editPassword()"><i class="glyphicon glyphicon-lock"></i> 修改密码</a></li>
            <li class="divider"></li>
            <li><a href="javascript:void(0)" ng-click="logout()"><i class="glyphicon glyphicon-log-out"></i> 退出</a></li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-right" ng-submit="search()" novalidate>
        <input id="keyword" type="text" class="form-control navbar-search" placeholder="搜索（财物分类、列表...）" required>
      </form>
    </div>
  </div>
</nav>